projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74ad5c7
)
[__GLIBC__ >= 2]: Don't declare __getpagesize.
author
Karl Heuer
<kwzh@gnu.org>
Sat, 1 Mar 1997 17:55:39 +0000
(17:55 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Sat, 1 Mar 1997 17:55:39 +0000
(17:55 +0000)
src/gmalloc.c
patch
|
blob
|
history
diff --git
a/src/gmalloc.c
b/src/gmalloc.c
index 7e7a8939238c96d270ec63231237774cfe018236..ac51e2509fcba79bfe0cb3ae278d64af767e065d 100644
(file)
--- a/
src/gmalloc.c
+++ b/
src/gmalloc.c
@@
-1612,7
+1612,11
@@
Cambridge, MA 02139, USA.
#if defined (__GNU_LIBRARY__) || defined (_LIBC)
#include <stddef.h>
#include <sys/cdefs.h>
+#if defined (__GLIBC__) && __GLIBC__ >= 2
+/* __getpagesize is already declared in <unistd.h> with return type int */
+#else
extern size_t __getpagesize __P ((void));
+#endif
#else
#include "getpagesize.h"
#define __getpagesize() getpagesize()